<!--Item Begin-->
<div class="items">
  <div class="item">
    <div class="item-heading">
      <a href="{:url('Article/lists', array('catid'=>$item[catid]))}" class="pull-right label label-success">{$item[catname]}</a>
      <h4><a href="{$item[url]}">{$item[title]}</a></h4>
    </div>
    <div class="item-content">
        <if condition="$item['picnum']">
        <div class="media">
        <a href="{$item[url]}" class="thumbnail">
        <volist name="item['pics']" id="pic">
        <span class="col-sm-3"><span class="thumb-span">
            <if condition="input(config('paginate.var_page')) gt 1">
            <img class="thumb" src="{$pic}" style="display: inline;">
            <else/>
            <img class="thumb" src="{$pic}" src="__IMG__/thumbnail.png" style="display: inline;">
            </if>
            <php>if ($i>=8){break;}</php>
        </span></span>
        </volist>
        </a>
        </div>
        </if>
        <div class="text clearfix">{$item[summary]}</div>
    </div>
    <div class="item-footer">
      <a href="{$item[url]}" class="text-muted"><i class="icon-eye-open"></i> ({$item[viewnum]})</a> <span class="text-muted"><i class="icon-comments"></i> ({$item.commentnum})</span> &nbsp; <span class="text-muted">{$item[dateline]}</span>
    </div>
  </div>
</div>
<!--Item End-->

